package cmpe.swe.purcom.model;

import java.util.Date;

public class Event {
	private Long id;
	private String name;
	private String description;
	private Date datetime;
	private String location;
	private Long communityid;

	
	public Event() {
		super();
	}

	/**
	 * This method sets the parameters of the Event object
	 * 
	 * @param id id property of the object
	 * @param name name property of the object 
	 * @param description description of the object
	 * @param datetime time property of the object
	 * @param location location
	 * @param communityid communityid property of the object
	 */
	public Event(Long id, String name, String description, Date datetime,
			String location, Long communityid) {
		super();
		this.id = id;
		this.name = name;
		this.description = description;
		this.datetime = datetime;
		this.location = location;
		this.communityid = communityid;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getDatetime() {
		return datetime;
	}

	public void setDatetime(Date datetime) {
		this.datetime = datetime;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public Long getCommunityid() {
		return communityid;
	}

	public void setCommunityid(Long communityid) {
		this.communityid = communityid;
	}

}
